Skip to content

Conversation

RalfJung
Copy link
Member

  • Add slightly more detailed definition of "allocated object" to the module docs, and link it from everywhere.
  • Clarify the "remains attached" wording a bit (at least I hope this is clearer).
  • Remove the sentence about using integer arithmetic; this seems to confuse people even if it is technically correct.

As usual, the edit needs to be done in a dozen places to remain consistent, I hope I got them all.

@rust-highfive
Copy link
Contributor

r? @dtolnay

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 27, 2021
Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good.

@dtolnay
Copy link
Member

dtolnay commented Mar 30, 2021

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Mar 30, 2021

📌 Commit 4f03f94 has been approved by dtolnay

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 30, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 30, 2021
Rollup of 7 pull requests

Successful merges:

 - rust-lang#83568 (update comment at MaybeUninit::uninit_array)
 - rust-lang#83571 (Constantify some slice methods)
 - rust-lang#83579 (Improve pointer arithmetic docs)
 - rust-lang#83645 (Wrap non-pre code blocks)
 - rust-lang#83656 (Add a regression test for issue-82865)
 - rust-lang#83662 (Update books)
 - rust-lang#83667 (Suggest box/pin/arc ing receiver on method calls)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 5b67543 into rust-lang:master Mar 30, 2021
@rustbot rustbot added this to the 1.53.0 milestone Mar 30, 2021
@RalfJung RalfJung deleted the ptr-arithmetic branch April 6, 2021 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants